package personal.hrsw.mybatisplusdemo.service;

import personal.hrsw.mybatisplusdemo.domain.Course;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【course】的数据库操作Service
* @createDate 2025-04-24 09:27:24
*/
public interface CourseService extends IService<Course> {
    List<Course> findAll();
    int remove(int id);

    int add(Course course);
    Course findById(int id);

    int edit(Course course);
    //分页查询
    List<Course> findByPage(int pageNo, int pageSize);
}
